package br.affero.core.security;

import java.io.Serializable;

import org.picketlink.idm.api.User;

public class ComplexUser implements User, Serializable {
	private static final long serialVersionUID = 6971480986306249186L;
	
	private String id;
	private String name;
	
	
	public ComplexUser(String id, String name) {
		this.id = id;
		this.name = name;
	}
	
	@Override
	public String getKey() {
		return getId();
	}

	@Override
	public String getId() {
		return this.id;
	}

	public String getName() {
		return name;
	}
	
	

}
